package com.mtw.bbs.fileAdmin.constant;

import java.io.File;

/**
 * 常量
 */
public interface FAConstants {

    /**
     * 分隔符
     */
     String SEPARATOE = "_";



    /**
     * minio文件夹分隔符 "/"
     */
    String MINIO_DIR_SEPARATOE = "/";



    /**
     * 文件url缓存
     */
    String FILE_URL_REDIS_KEY = "file_url:";

    /**
     * 视频封面url缓存
     */
    String COVER_URL_REDIS_KEY = "cover_url:";


    /**
     * redis锁前缀
     */
    String REDIS_LOCK_KEY = "file:md5_";


    /**
     * redis云分片上传锁前缀
     */
    String REDIS_PART_LOCK_KEY = "part_file:";

}
